-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix PCSG handling #104
Fix PCSG handling #104
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #104 +/- ##
==========================================
+ Coverage 56.45% 61.25% +4.79%
==========================================
Files 7 7
Lines 542 542
==========================================
+ Hits 306 332 +26
+ Misses 236 210 -26 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure on #102, because other methods currently display a warning and assume uniform probabilities.
If you want to add an extra Base.show
method for probabilistic grammars, we can either define this in Core or define it over CSGs instead of AbstractGrammars.
Will discard prettier |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
With the tests for non-probabilistic cases, this looks good to me 👍
make_probabilistic
normalize!
not exported + not defined for non-probabilistic case #102add prettierBase.show
for probabilistic grammars.